// DailyNecessity.h
#ifndef DAILYNECESSITY_H
#define DAILYNECESSITY_H

#include "Product.h"

// 日用品类
class DailyNecessity : public Product {
private:
    string usage; // 用途
    string material; // 材质
public:
    DailyNecessity();
    DailyNecessity(string id,string name, string brand, string manufacturer, double price, int quantity, string usage);

    void displayInfo() const override;
    void setMaterial(string u);
    string getMaterial() const;

    void updateSpecialField(const string &value)  override;
};

#endif //DAILYNECESSITY_H